package com.business_clean.app.network;

import rxhttp.wrapper.annotation.DefaultDomain;

public class NetUrl {
    public static String SERVER_URL_RELEASE = "https://pccappapi.jiazhengye.cn/";
    public static String SERVER_URL_TEST = "https://pccappapi-test.jiazhengye.cn/";
    public static String SERVER_URL_DEV = "https://pccappapi-dev.jiazhengye.cn/";

    //web 的域名

    public static String WEB_BASE_DEV_URL = "https://pccm-dev.jiazhengye.cn/";
    public static String WEB_BASE_RELEASE_URL = "https://pccm.jiazhengye.cn/";
    public static String WEB_BASE_URL = WEB_BASE_RELEASE_URL;//默认是 RELEASE


    //待办的链接
    public static String WEB_TODO_DETAIL_URL = "examine?";
    //项目的链接
    public static String WEB_PROJECT_DETAIL_URL = "project?";
    //档案的链接
    public static String WEB_PROJECT_FILE_DETAIL_URL = "files?";

    @DefaultDomain
    public static String defaultUrl = SERVER_URL_RELEASE;

    public static String AUDIO_URL = "https://pccmedia.jiazhengye.cn/";

    //源数据

    public static String INIT_CITY = "/data/city/getTree";
    //阿里一键授权
    public static String GET_ALI_AUTH_TOKEN = "/auth/oneClickLogin/getAccessToken";

    //阿里的授权登陆
    public static String GET_ALI_SING_IN = "/auth/oneClickLogin/signIn";
    //确定企业
    public static String SELECT_COMPANY = "/auth/login/selectCompany";

    //图片标记的接口
    public static String MARK_PHOTO = "/user/workCircle/create";

    //验证码
    public static String GET_LOGIN_CODE = "/auth/login/getVerificationCode";

    //登陆账号
    public static String LOGIN_SIGN_IN = "/auth/login/signIn";

    //获取首页
    public static String GET_WORK_BENCH_GRID = "/workbench/index/getApplicationList";

    // 获取首页统计
    public static String GET_WORK_BENCH_TO_GRID = "/workbench/index/getData";

    // Todo列表
    public static String GET_TODO_LIST = "/user/approve/getList";

    // todo同意
    public static String TODO_AGREE = "/user/approve/agree";

    //todo取消
    public static String TODO_CANCEL = "/user/approve/cancel";

    //todo撤回
    public static String TODO_REJECT = "/user/approve/reject";
    //todo删除
    public static String TODO_DELETE = "/user/approve/delete";

    //后去源数据
    public static String GET_INIT_DATA = "/data/metadata/getList";

    //工作圈
    public static String GET_CIRCLE_LIST = "/user/workCircle/getList";

    //工作圈子统计
    public static String GET_CIRCLE_STAT = "/user/workCircle/statDay";

    //员工册
    public static String GET_ROSTER_LIST = "/user/archives/getList";

    //获取休息人员的列表
    public static String GET_ROSTER_REST_LIST = "/user/attendance/getRestUserList";

    //获取审批单子的想请
    public static String GET_DEPART_GET_ONE = "/user/approve/getOne";

    //花名册
    public static String GET_ROSTER_PERSON_LIST = "/user/archives/getPersonList";

    //客户列表
    public static String GET_CUSTOM_LIST = "/company/custom/getList";

    //创建客户信息
    public static String SAVE_CUSTOM = "/company/custom/save";

    //获取全部项目列表
    public static String GET_PROJECT_MANGER_ALL = "/project/project/getAll";

    //获取项目列表
    public static String GET_PROJECT_MANGER_LIST = "/project/project/getList";

    //获取客户的详情
    public static String GET_CUSTOM_DETAILS = "/company/custom/getOne";


    //获取项目详情
    public static String GET_PROJECT_MANGER_DETAIL = "/project/project/getEditDetail";


    //保存项目
    public static String SAVE_COMPANY_PROJECT = "/project/project/save";

    //获取业态
    public static String GET_CAT_ALL = "/data/project/getCatAll";

    //获取七牛token
    public static String GET_QINIU_TOKEN = "/data/oss/getQiniuToken";


    //常用联系人
    public static String GET_CONTACTA_ALL = "/project/contactPerson/getList";
    //删除
    public static String DEL_CONTACTC = "/project/contactPerson/delete";
    //新增联系人
    public static String SAVE_CONTACTA = "/project/contactPerson/save";

    //新增总部人员
    public static String SAVE_COMPANY_CONTACTA = "/user/archives/saveHeadOffice";
    //获取详情
    public static String GET_CONTACTA_DETAIL = "/project/contactPerson/getOne";
    //获取总部人员详情
    public static String GET_COMPANY_CONTACTA_DETAIL = "/user/archives/getOneHeadOffice";

    //小组列表
    public static String GET_GROUP_ALL = "/project/group/getList";
    public static String SAVE_GROUP = "/project/group/save";
    public static String DEL_GROUP = "/project/group/delete";
    public static String GET_GROUP_DETAIL = "/project/group/getOne";

    //班次
    public static String GET_CLASSES_ALL = "/project/classes/getList";
    public static String SAVE_CLASSES = "/project/classes/save";
    public static String DEL_CLASSES = "/project/classes/delete";
    public static String GET_CLASSES_DETAIL = "/project/classes/getOne";

    //地址
    public static String GET_ADDRESS_ALL = "/project/workAddress/getList";
    public static String SAVE_ADDRESS = "/project/workAddress/save";
    public static String DEL_ADDRESS = "/project/workAddress/delete";
    public static String GET_ADDRESS_DETIALI = "/project/workAddress/getOne";

    //花名册-增加员工相册
    public static String ROSTER_ADD = "/user/archives/saveHeadOffice";

    //考勤 月
    public static String GET_ATTENDANCE_MONTH = "/attendance/stat/getMonthList";

    //考勤 日
    public static String GET_ATTENDANCE_DAY = "/attendance/stat/getDailyList";
    public static String UPDATE_MY_ATTENDANCE = "/attendance/daily/update";

    //获取岗位列表
    public static String JOB_LIST = "/company/job/getAll";
    //带分页的岗位列表
    public static String JOB_LIST_PAGE = "/company/job/getList";
    //切换项目列表
    public static String CHANGE_PROJECT = "/user/project/change";
    //获取当前时间戳
    public static String GET_TIME_STAMP = "/data/metadata/getTimeStamp";
    //获取个人信息
    public static String GET_USER_INFO = "/user/archives/getPersonalInfo";
    //请求民族列表
    public static String GET_NATION_LIST = "/data/nation/getList";

    //增加项目成员
    public static String CREATE_MEMBERS = "/user/archivesDraft/create";
    //编辑草稿成员
    public static String UPDATE_MEMBERS = "/user/archivesDraft/update";
    //编辑已存在的成员
    public static String UPDATE_MEMBERS_UPDATE = "/user/archives/update";
    //获取草稿详情
    public static String GET_MEMBERS_DETAILS = "/user/archivesDraft/getOne";
    //获取员工详情
    public static String GET_STAFF_DETAILS = "/user/archives/getOne";

    //相机员工设置
    public static String CAMERA_SETTING = "/user/setting/update";

    //获取默认的出勤的信息
    public static String CAMERA_ATTENDANCE_INFO = "/user/attendance/getCurrentInfo";

    //更新版本
    public static String CHECK_UPDATE_APP = "data/version/getLatestOne";

    //身份证识别
    public static String OCR_ID_CARD_INFO = "/data/ocr/idCardRecognition";
    //银行卡识别
    public static String OCR_BANK_INFO = "/data/ocr/bankCardRecognition";
    //员工快速离职
    public static String DEPOART_MEMBERS = "/user/approve/createDimission";

    //我的考勤
    public static String MY_ATTENDANCE = "/attendance/stat/getUserMonth";

    //当日考勤
    public static String MY_ATTENDANCE_DAYS = "/attendance/daily/getClockInList";
    //导出 xls 文件内容
    public static String DOWNLOAD_EXPORT_EXCEL = "/data/export/excel";

    //获取所有的角色权限
    public static String GET_PERMISSIONS = "/company/role/getAll";

    //查询当前地址和时间是否可打卡
    public static String CHECK_CLOCK_ADDRESS = "/attendance/clockIn/check";

    //获取用户管理的所有项目列表
    public static String GET_DEPART_GET_PROJECT_ALL = "/user/project/getAll";

    //获取用工规则配置
    public static String GET_WORK_POST_RULES = "/company/setting/getOne";

}
